How do I use AI credits with any app, library or script?

Any app, library or script that lets you set an OpenAI-compatible address and API key can use your AI credits. Three settings:

  • Base URL: https://virsilipas.mcx.fi/v1
  • API key: your key from the Virsilipas AI key page (starts with vsk-)
  • Model: default, or another alias from the model list

Try it with curl

curl https://virsilipas.mcx.fi/v1/chat/completions \
  -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' \
  -d '{"model": "default", "messages": [{"role": "user", "content": "Say hello."}]}'

The answer is in choices[0].message.content. Add "stream": true to stream it.

Formats it speaks

  • OpenAI chat completions at /v1/chat/completions, for most apps and libraries.
  • Anthropic Messages at /v1/messages, the format Claude Code uses.
  • The Gemini API at /v1beta/models/, the format Gemini CLI uses.

Requests to the main models in the chat-completions and Gemini formats move to a second provider if the first one fails before the answer starts, at the same price. Requests in the format Claude Code uses go to the first provider only. Whichever format you use, we do not send your name, customer account or IP address to the model provider: your request goes on under our account, from our server. What you put in the request still reaches the provider, and so does whatever your tool adds by itself. Claude Code, for one, writes the folder you work in into its requests, and on a seedbox that folder path can contain your seedbox username.

What works and what does not

  • Works: text chat, streaming, tool or function calling where your own app runs the tools, and images on default, default-instant, default-think, alt and alt-think (and on deepseek-ai/DeepSeek-V4.1-Flash-1017 under its own name).
  • Does not work: images on any other model (refused with unsupported_content, "images are not enabled for this model"), audio on any model, PDFs and other files on any model (unsupported_content), and tools that run on a model vendor's side, such as web search (unsupported_tool).
  • The service answers chat requests only. It has no embeddings, image generation or speech endpoints.

JavaScript and PHP examples: the README on GitHub. Every field, header and error: API reference.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What are Pulsed Media AI credits?

AI credits pay for AI requests: questions you send to a language model from a script, a chat app...

How many AI credits does my plan earn?

Each service invoice you pay adds credits to your balance. The amount follows what you pay:...

Your AI credit balance: history, expiry and refunds

Your Virsilipas AI key page (AI credits in the client area menu) shows the credits you have left,...

Your AI key: where to find it, keep it safe, get a new one

Your AI key is on the Virsilipas AI key page: open AI credits in the client area menu and press...

What is the ~/.virsilipasKey file on my seedbox?

~/.virsilipasKey is a small file in your seedbox home directory that holds your AI key, so tools...