ProductsGenerative AI API

Generative AI API

Build with DeepSeek, GLM, Kimi and other leading models through an OpenAI-compatible Chat Completions API.

From $0.112 per 1M input tokens

Features

Leading models, through the APIs you already know

The Generative AI API gives you access to leading large language models such as DeepSeek, GLM and Kimi for chat, reasoning, coding and agent workflows. Use any OpenAI-compatible SDK by pointing it at the Vionex endpoint.

OpenAI-compatible Chat Completions

Use the official OpenAI SDKs or any compatible client. Just change the base URL and API key.

Streaming

Set stream: true to receive tokens as server-sent events while they are generated.

One API for every model

Every model uses the same base URL, SDK and API key. Switch models by changing a single parameter.

Long context

Work with up to 1M tokens of context in a single request.

Cached input pricing

Input tokens served from the model's context cache are billed at a lower cached-input rate.

Pay for successful requests

Requests are only charged when they succeed, so failed calls never reduce your balance.

Models

Choose the right model

Pick the balance of capability, speed and cost that fits each workload.

DeepSeek

DeepSeek V4 Flash

deepseek-4-flash

Fast, low-cost DeepSeek model for chat, coding and high-volume workloads.

Context window
1M tokens
Max output
384K tokens
Input
$0.112
Output
$0.224

Prices per 1M tokens

GLM

GLM-5.3

glm-5.3

Flagship GLM model for complex reasoning, coding and agent workflows.

Context window
1M tokens
Max output
128K tokens
Input
$1.40
Output
$4.40

Prices per 1M tokens

GLM-5.3-Flash

glm-5.3-flash

Lightweight, low-cost GLM model for everyday chat, extraction and high-volume tasks.

Context window
1M tokens
Max output
128K tokens
Input
$0.15
Output
$0.50

Prices per 1M tokens

Kimi

Kimi K3

kimi-k3

Flagship Kimi reasoning model for coding, agent workflows and long documents.

Context window
1M tokens
Max output
128K tokens
Input
$3.00
Output
$15.00

Prices per 1M tokens

Quickstart

Call any model with the OpenAI SDK

Install the official OpenAI SDK for your language, then point it at Vionex.

Base URL https://api.vionexlimited.com/v1
Authentication Authorization: Bearer YOUR_API_KEY
Compatible with OpenAI Chat Completions
  1. Create a chat completion

    Set the base URL to /v1 on the Vionex API and pass a model ID from the list above as model.

    curl "https://api.vionexlimited.com/v1/chat/completions" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "deepseek-4-flash",
        "messages": [
          {"role": "user", "content": "Explain graduated pricing in one sentence."}
        ]
      }'
    
  2. Stream the response

    Add stream: true to receive the response incrementally as server-sent events.

    curl -N "https://api.vionexlimited.com/v1/chat/completions" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "model": "deepseek-4-flash",
        "stream": true,
        "messages": [{"role": "user", "content": "Write a short poem about the ocean."}]
      }'
    

API endpoints

Generative AI API endpoints
MethodEndpointDescription
POST/v1/chat/completionsChat completions, with optional streaming
GET/v1/modelsList the available models

Pricing

Pay per token

Per-model prices in US dollars.

Generative AI API prices in USD by model
Model Inputper 1M tokens Cached inputper 1M tokens Outputper 1M tokens
DeepSeek
DeepSeek V4 Flash deepseek-4-flash
  • $0.112
  • $0.028
  • $0.224
GLM
GLM-5.3 glm-5.3
  • $1.40
  • $0.26
  • $4.40
GLM-5.3-Flash glm-5.3-flash
  • $0.15
  • $0.03
  • $0.50
Kimi
Kimi K3 kimi-k3
  • $3.00
  • $0.30
  • $15.00

Start building with Vionex

Create an account in minutes and pay only for what you use.