DeepSeek V4 Flash
Explore a different approach to your next text task.
ai/deepseek-v4-flash-0731Explore in workspace Explore AI models, try your prompts, and connect your applications. One API, with usage and spending under your control.
Practical ideas for the work you do every day.
Different ideas call for different models.
Explore a selection from our text-model catalog.
Explore a different approach to your next text task.
ai/deepseek-v4-flash-0731Explore in workspace Bring your prompts, ideas, and conversations.
ai/claude-sonnet-4-6Explore in workspace Connect your application through the same API.
ai/gpt-6-solExplore in workspace Try another model without another integration.
ai/grok-4.6Explore in workspace Catalog selection · Availability and supported features are shown in your workspace.
A workspace for the whole journey.
Try an idea. Connect it. See how it’s doing.
Use the Playground to test prompts and explore responses before writing your integration.
Explore the PlaygroundCreate separate API keys for your applications, set an expiry, and revoke access when you need to.
See a request exampleReview tokens, request status, and recorded costs. Set spending limits and export usage records.
Open your workspaceKeep the shape of your integration. Set your base URL, add a VGAIN key, and choose an enabled model.
https://compute.vgallant.ai/v1/v1/chat/completions/v1/modelscurl "$VGAIN_BASE_URL/chat/completions" \
-H "Authorization: Bearer $VGAIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ai/deepseek-v4-flash-0731",
"messages": [
{"role": "user", "content": "What could we build next?"}
],
"max_tokens": 128
}'VGAIN_BASE_URL to https://compute.vgallant.ai/v1, and VGAIN_API_KEY to your own key.Open registration, a personal workspace,
and a clear path to your first request.
Sign up with your email address or continue with Google.
New verified accounts receive $0.05 to try live requests. Manage your balance and view top-up options in your workspace.
Explore the Playground, then create an API key for your application.
Personal accounts, revocable API keys, and authenticator protection. Administrator controls require an authorized account.
Workspace and API-key controls help keep spending, request counts, and token usage within configured limits.
Text request history stores metadata, not message bodies. Media jobs have separate temporary retention; live requests are processed by external model services.
From your first prompt to billing, API integration, and keeping your account secure.
44 answers
VGAIN Compute gives you a browser workspace and an API for accessing enabled AI models. Try prompts in the Playground, connect your application with a VGAIN API key, and track usage and prepaid credits in one place. GPU rental, model training, and dedicated model hosting are not included.
Anyone can register with an email address they own or continue with Google. Email registration requires verification; an invitation or company email is not required.
Create an account ↗New verified accounts receive a one-time $0.05 welcome credit. Live requests use this balance at the selected model’s rates. This is a small trial allowance, not unlimited free access; choose a low-cost model and a small output allowance to start.
Verify your account, check your available balance, and choose an enabled model. You can send a prompt in the Playground without writing code. For your application, create an API key and follow the developer quickstart.
Open the quickstart ↗No. For models offered through VGAIN, use your VGAIN account, API key, and workspace credits. A subscription or API key from another AI service does not add credits to your VGAIN balance.
The model library shows VGAIN’s rates and billing units. Text cost is (input tokens × input rate + output tokens × output rate) ÷ 1,000,000. At $1/M input and $2/M output, 1,000 input tokens and 500 output tokens cost $0.002. Image and video prices use the units shown for the selected option. Check the current VGAIN rate rather than assuming another platform’s price applies.
View model prices ↗The gateway records the applicable VGAIN rates when it accepts your request. Later price updates do not reprice that request; the final charge still depends on billable usage. Check the model library for the rates that apply to new requests. Supplier monitoring and route selection do not themselves change your customer rates.
View current model prices ↗Tokens are pieces of text used by a model; they are not the same as words or characters. Input includes your prompt, system instructions, and conversation history sent with the request. Output is generated by the model. Tokenization and reported usage vary by model, so longer conversations can cost more even when the latest message is short.
Open Credits & balance to see the payment options available to your account. Review the credits you will receive, any fee, purchase limits, terms, and final USD total before paying. The amount paid can differ from the credits added. Checkout availability depends on your account; sandbox payments do not add spendable credits. Your card issuer may apply currency-conversion fees.
Open Credits & balance ↗A request reserves credits before it runs. Available credits are your balance minus these reservations. Once the request settles, the actual charge is deducted and unused reserved credits are released. A larger requested output allowance can require a larger reservation, even if the final answer is short.
Under the current beta settlement rules, text requests charge reported usage for completed or partial results. Failed requests or text requests without verified usage release customer credits. A disconnected stream may still have generated a billable result: check its final Usage record before retrying. Failed or unverified media results release customer credits. Request counts and platform spending limits can still be consumed.
In Credits & balance, find the existing order in Payment history and choose Check status. Credits are added after payment confirmation, not just after returning from checkout. Use Resume checkout when offered. Avoid starting another payment while the first is unresolved; keep its payment reference if it needs investigation.
Check payment history ↗Payment history shows View invoice when an invoice is available for that payment. Usage lets you filter request records and export matching results as CSV. A usage export describes model activity and charges; it is separate from a payment invoice.
View and export usage ↗The current top-up terms state that prepaid credits are non-refundable and cannot be withdrawn or exchanged for cash. Payment errors and refunds required by law are exceptions; statutory rights are preserved. Review the terms shown at checkout and contact [email protected] with your payment reference for a billing enquiry.
Email [email protected] ↗The current checkout terms do not specify a credit-expiry period. Confirm the applicable terms before a large purchase. The customer workspace does not currently offer automatic top-ups; monitor your available balance and add credits using the payment options shown.
Check Models in your workspace for enabled text, image, video, and embedding options, prices, and capabilities. GET /v1/models lists currently enabled models. Use the exact VGAIN model ID. A catalog listing or a capability supported by the original model does not mean that feature is enabled on its VGAIN route.
Explore models ↗Use https://compute.vgallant.ai/v1 as the base URL, your VGAIN key as the API key, and an enabled VGAIN model ID. Text requests use /chat/completions. Compatibility covers the documented request fields, not every SDK feature or provider endpoint. If a client appends /v1 itself, avoid adding that segment twice.
Read the API guide ↗Opus 5.5, Astra 6, Gemini Argon, and Gemini Carbon support JSON and streaming function tools through qualified Chat Completions routes. DeepSeek V4 Pro, DeepSeek V4.1 Flash, GLM 5.3, GLM 5.3 Flash, Kimi K3, Kimi K3.1 Pro also have qualified JSON and streaming tool routes. For these reasoning models, replay the complete assistant message including reasoning_content. Supplier routing is automatic. Your application executes tools and returns their results; VGAIN does not run functions or host agents. JSON, streaming, tool choice, parallel calls, and strict schemas depend on route qualification. Unsupported capabilities return tools_not_enabled before generation. Astra 6 also supports a stateless Responses endpoint for text and function tools on qualified suppliers. Replay all output items for continuation. Embeddings use the separate /v1/embeddings endpoint for enabled embedding models. Hosted agents, built-in tools, file or image inputs to text requests, and structured response formats are not included. See the API guide for the supported contract.
Use POST /v1/embeddings with an enabled embedding model from GET /v1/models and your VGAIN API key. Embeddings are vectors for search and retrieval; they are available through the API. Requests accept text or token IDs, including batches of up to 64 inputs, with optional reduced dimensions. Only input tokens are charged. Each successful request has a $0.0000022 minimum charge, applied once to the whole batch. Above that minimum, when the selected supplier rate is below a matching OpenRouter rate, the customer rate is 5% below OpenRouter; otherwise it is supplier cost plus 10%. Failed or unverified requests release customer credits. The API guide lists input limits and examples.
Read the embeddings API guide ↗For a model marked as supporting streaming, set stream to true. Text arrives as Server-Sent Events (SSE), ending with data: [DONE]. Handle stream error events as well as HTTP errors; an ended connection alone does not prove the request completed successfully. For other models, use stream: false.
Check the model’s context window and supported output allowance. Input includes the conversation history you send. Set max_tokens to your desired output allowance; the default is 512 when omitted. Output allowances depend on the qualified route. Newly added catalog routes initially support up to 512 output tokens; existing bindings retain their prior output contract. Model limits, available credits, and daily budgets still apply. Reduce history or output allowance when a request exceeds a limit.
Use an enabled VGAIN model ID; normal requests do not require you to choose a supplier. Duplicated text models use the highest-scoring eligible supplier. Image, video, and embedding models use the cheapest eligible supplier for the same model and settings. Routing prefers sufficient measurements for that model, then comparable supplier benchmarks from Astra, Opus, and Carbon; without fresh performance evidence, it uses current cost. Tool requests use only routes qualified for their requested capabilities; a model available from one eligible supplier goes directly to that supplier. Customer route preferences remain subject to published availability. The gateway dispatches a generation once and does not automatically replay it with another supplier after a failure or interruption. Check the original request’s status before deliberately submitting again.
Customer BYOK is not currently available. Create a VGAIN API key in your workspace to use VGAIN’s enabled models and prepaid balance. Keys from other platforms cannot authenticate VGAIN requests.
There is no customer-configurable response cache in the current workspace. Do not assume a repeated prompt is free or receives a discount. Use the VGAIN rates shown for the model and the charge recorded in Usage; provider-side caching does not by itself establish a separate customer discount.
Choose an enabled image or video model and one of its supported options. Images use POST /v1/images/generations; videos use POST /v1/videos. These are separate from text Chat Completions. Every media submission requires an Idempotency-Key header. The new image models use quality=standard and response_format=url. The developer guide explains request fields and result formats.
Read the media API guide ↗We select the cheapest eligible supplier for the same model and output settings. If its price is below the matching OpenRouter price, you pay 5% less than OpenRouter; otherwise you pay supplier cost plus 10%. Prices refresh every 30 minutes and are fixed for each accepted job. We do not run paid media performance tests. A timed-out submission is not automatically sent to another supplier.
Media generation can run asynchronously; video can take several minutes. Poll the matching GET /v1/images/generations/{id} or GET /v1/videos/{id} endpoint for the existing job. For video, poll about every 15 seconds until completed or failed. A pending result is not a reason to submit a second generation.
Media prompts and result references are encrypted at rest. Prompts are removed when jobs finish, and retained media results expire after 24 hours; external video links may expire sooner. Save completed output promptly. Usage records retain the charge and units after the result expires. These media rules are different from text request history.
Reference images and videos, image editing, and audio options are not enabled in the current media API. Use only the sizes, quality, duration, resolution, and aspect-ratio options listed for the selected model.
No. Current service monitoring checks outcomes already recorded by the platform. These checks do not submit model prompts, charge your wallet, or automatically repeat a failed request.
Requests must pass the applicable platform, workspace, and API-key controls, including balance, request/token budgets, and rate or concurrency limits. A positive credit balance does not override a budget or pause. Daily budgets reset at 00:00 UTC (08:00 Malaysia time). Buying credits does not reset counters. Limits depend on the configured account and route; ask your administrator if a limit needs review.
Send Authorization: Bearer followed by your VGAIN API key. Check that the key has not expired or been revoked and that your account still has access. Your password, browser session, and another provider’s key are not substitutes. Replace an exposed or lost key from the API keys screen.
Manage API keys ↗The available balance may be smaller than the reservation needed for this request, especially while other requests are running. Check available and reserved credits, lower max_tokens if appropriate, or add credits. A large output allowance can be rejected even when a short final answer would have cost less.
Check the exact enabled model ID, message format, supported fields, and model limits. Remove unsupported parameters rather than assuming every SDK option works. For media, use a supported option from the model library and provide the required Idempotency-Key.
429 indicates a rate, concurrency, or budget limit; follow Retry-After when present and check the applicable limits. 502, 503, or 504 can indicate an unavailable, paused, or timed-out route. Inspect Usage or GET /v1/requests/{id} before retrying an uncertain text request. Use bounded retries with backoff for transient failures; repeated retries will not fix an exhausted daily budget.
For text, send a unique Idempotency-Key for each intended submission. Reusing it returns HTTP 409 with the existing request ID; inspect that request instead of treating 409 as a fresh failure. Media requires this header: retry with the same key and identical body to return the original job; changing the body with the same key returns 409. A new key represents a new submission.
No. Stopping the Playground or disconnecting your client may happen after the model has done work. Wait for the request to settle and check its final status and charge in Usage. Revoking a key or pausing new requests also does not undo work already in progress.
Text prompt and response bodies are not stored in VGAIN request history. History contains metadata such as model, token usage, time, status, and charge. Playground conversations are kept in the current page session and disappear when you leave it. Image and video jobs have separate temporary retention, described in Images & video.
Live requests are sent to external model services and are subject to those services’ policies. VGAIN’s text-history behavior is not an end-to-end zero-retention or no-training guarantee. Customer controls for zero-data-retention routing or regional processing are not currently available. Confirm the applicable provider and data terms before sending information with special handling requirements.
Keys are shown only when created. Keep them in server-side secret storage, outside browser code, repositories, and shared logs. Use separate keys for separate applications and set an expiry. To rotate, create a replacement, update your application, and revoke the old key. If a key is exposed, revoke it immediately. Revocation blocks new requests.
Manage keys ↗The platform supports authenticator-based account protection. Review the options in Settings and keep recovery codes securely when provided. An API key is an application credential and should never be shared as an account login.
Open account settings ↗The current customer experience is a personal workspace. Self-service team membership, enterprise SSO/SCIM, and a customer self-hosted distribution are not currently offered. Google sign-in is available, but does not provide organization-managed enterprise SSO. Do not assume an enterprise SLA or compliance commitment without an explicit agreement.
In Usage, filter by date, model, status, or request search, then export the matching records as CSV. Date filters use UTC calendar dates. The export includes request metadata and charges, not prompts, responses, or API keys. Refresh to see requests that have settled since your last visit.
Open Usage ↗Email [email protected] for account, billing, or technical help. For a technical enquiry, include the request ID, model ID, UTC time, HTTP status, and a redacted error message. For billing, include the payment reference and status from Payment history. Never send an API key, password, recovery code, or full card details.
Email [email protected] ↗Already have a workspace? Sign in