Inference.

Big models. Small bills.

Explore models

$1 in free creditsFrom $0.10 per 1M input tokens

import osfrom openai import OpenAI client = OpenAI(    base_url="https://model.graphn.ai/v1",    api_key=os.environ["GRAPHN_API_KEY"],) reply = client.chat.completions.create(    model="deepseek-v4.1-flash",    messages=[{"role": "user", "content": "Hello"}],)print(reply.choices[0].message.content)
graphn.ai
graphn.ai · Inference
DeepSeek V4.1 Flash1M context
Kimi K2.5256K context
Mistral Large 3256K context
Qwen3 VL 235B256K context
Qwen3.8 27B256K context
+ Your model$ graphn model deploy
Managed inference · OpenAI-compatible API

The built-in catalog

Chat & vision · 10

ModelContextThinkingToolsJSONVisionAudioInput · 1MOutput · 1M
DeepSeek V4.1 Flashdeepseek-v4.1-flash1M·$0.30$1.20
Kimi K2.5 (image)kimi-k2.5256K···$0.60$3.00
Mistral Large 3mistral-large-3256K···$0.50$1.50
Qwen3 VL 235B Instruct (image)qwen3-vl-235b256K···$0.53$2.66
Qwen3.8 27B (image+video)qwen3.8-27b256K·$0.45$3.20
gpt-oss 120Bgpt-oss-120b128K··$0.15$0.60

Every model has its own page with strengths, caveats, and a runnable request. The live list is in the app under Models, or via graphn model list-chat.

Swap the model. Keep the code.

Your weights. Our muscle.

Deploy weights from Hugging Face or S3, LoRA included, behind the same API.

Custom model imports →
graphn.ai
import_model.py
import graphn
Wassily Kandinsky, Circles in a Circle (1923)

Let the prompt pick the model

Send auto and each request goes to a model that can handle it, or build your own router. You pay for the model that answers.

graphn.ai
app.py
reply = client.chat.completions.create(
    model="auto",
    messages=messages,
)

See every request

Model, key, status, time to first token, tokens and cost for every call.

graphn.ai

Call it from anywhere

OpenAI's request shape, so the tooling you already have works unchanged.

Models documentation →
terminal
curl https://model.graphn.ai/v1/chat/completions \
  -H "Authorization: Bearer $GRAPHN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-oss-120b",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
app.ts
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://model.graphn.ai/v1",
  apiKey: process.env.GRAPHN_API_KEY,
});

const reply = await client.chat.completions.create({
  model: "deepseek-v4.1-flash",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(reply.choices[0].message.content);
quickstart.py
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://model.graphn.ai/v1",
    api_key=os.environ["GRAPHN_API_KEY"],
)

reply = client.chat.completions.create(
    model="qwen3-80b",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
Paul Klee, Fish Magic (1925)

Build agents on the same models

Grow a model call into a workflow with tools and knowledge bases.

The workflow platform →

Make your first call.

Read the docs
  1. 01

    Create an account

    $1 in credits to try inference.

  2. 02

    Create an API key

    Point any OpenAI SDK at GraphN and pick a model by name.

  3. 03

    Add a card when you want more

    $5 more in credits when you link a card.