For AI agents

The whole API, on one page, in Markdown.

Coding agents work best from one dense, current page instead of a site they have to crawl. This is that page: the base URL, the key, every model id with its price, every endpoint with its request shape, the limits and the errors. It is generated from the same live sources the console reads, so it is never a stale copy.

/llms.txt /llms-full.txt Raw .md Updated 2026-11-06 15:31 UTC

AxForge: the API, in full

AxForge is European AI infrastructure: an OpenAI-compatible inference API and whole GPUs by the hour, run in the EU. This page is generated from the live catalogue, price sheet and fleet, so it is current, not a snapshot.

The basics

Base URLhttps://api.axforge.ai/v1
AuthAuthorization: Bearer $AXFORGE_API_KEY
CompatibilityOpenAI API shape. The official SDKs work unchanged, only base_url, key and model id differ
Regioneu-se-1 Stockholm (serverless), eu-es-1 Málaga (dedicated GPUs)
RetentionPrompts and completions are processed in memory and never stored. Only counts, timestamps and status are kept, for billing
KeysCreated in the console: https://console.axforge.ai/keys
curl -sS https://api.axforge.ai/v1/chat/completions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"xev","messages":[{"role":"user","content":"Hello"}]}'

Models

Every model served right now. Use the id in the model field.

ModelidTypeSize · contextPrice
XevxevChat · text€0.02 in · €0.01 cached in · €0.00 out / 1M
Qwen3 Embeddingqwen3-embedEmbeddings0.6B · 32k ctx€0.01 in · €0.00 out / 1M
FLUX.2 Kleinflux2-klein-4bImage edit4Bsee /docs/models/
OCR, every EU languageocr-euModelsee /docs/models/
MiniMax Musicminimax-music3Music / audio3see /docs/models/
BGE Reranker v2 M3bge-reranker-v2-m3Reranker568M · 4k ctx€0.01 in · €0.00 out / 1M
WhisperwhisperSpeech→textbasesee /docs/models/
GLM-5.3-Flashglm-5.3-flashText genFlash · 262k ctx€0.12 in · €0.06 cached in · €0.62 out / 1M
MiMo-V2.6-Flashmimo-v2.6-flashText genFlash · 262k ctx€0.12 in · €0.06 cached in · €0.62 out / 1M
ERNIE Image Turboernie-image-turboText→image8.0Bsee /docs/models/
PiperpiperText→speechsee /docs/models/
Qwen3.8qwen3.8-27bVision + text27B · 262k ctx€0.12 in · €0.06 cached in · €0.62 out / 1M

Endpoints

/v1/chat/completions

Chat and tool use. stream: true gives server-sent events.

{"model":"<id>","messages":[{"role":"user","content":"…"}],"stream":false}

/v1/embeddings

Vectors for search and RAG.

{"model":"qwen3-embed","input":"text to embed"}

/v1/rerank

The passages that answer a question, first (Cohere's shape). results come back best first, each with its index in documents.

{"model":"bge-reranker-v2-m3","query":"When is the invoice due?","documents":["…","…"],"top_n":2}

/v1/images/generations

Image generation.

{"model":"<id>","prompt":"a red bicycle","size":"1024x1024"}

/v1/images/edits

Image editing from an input image (JSON; the image as a data URL or base64).

{"model":"flux2-klein-4b","prompt":"make the sky overcast","image":"data:image/png;base64,…"}

/v1/audio/transcriptions

Speech to text.

multipart: model, file

/v1/audio/speech

Text to speech. The answer is the audio itself (audio/wav).

{"model":"piper","input":"hello"}

/v1/audio/music

Music generation, up to 180 s (about 4 s to make each second). The track is in data[0].b64_json.

{"model":"minimax-music3","prompt":"a calm piano piece","duration_s":30}

/v1/ocr

PDFs, scans and photos to text in every EU language, billed per page. A file upload (multipart: file, lang) or JSON.

{"base64":"<the PDF or image>","filename":"contract.pdf","lang":"sv"}

/v1/models

What is served right now.

GET

Errors

Every error is JSON: {"error":{"message":…,"type":…,"code":…}}.

StatusMeansDo
400The request body is wrongRead error.message, which names the field
401No key, or a key that is goneCheck the Authorization header
402Out of allowance or creditTop up in the console; the message says which
403The key may not use that model or endpointCheck the key's scope in the console
404Unknown model id or pathCall /v1/models for the live list
413The body is too largeSplit the input; embeddings take batches
429Rate limitedBack off and retry with jitter; the headers say when
502The model could not be reachedRetry once; if it persists, the forum will say
504The model took too longRaise your client timeout for image and video models: minutes, not seconds

Dedicated GPUs

Whole machines by the hour with SSH, one tenant each.

GPUMemoryStatusFree nowFrom
NVIDIA DGX Spark (GB10)128 GB unified memoryAvailable6 of 7 cardsfrom €0.69/h
NVIDIA RTX 6000 Pro96 GB GDDR7Request capacityfrom €0.92/h
NVIDIA RTX 509032 GB GDDR7 eachAvailable1 of 1 cardsfrom €0.74/h
NVIDIA RTX 309024 GB GDDR6XRequest capacityfrom €0.36/h
NVIDIA RTX 306012 GB each · 24 GB the pairAvailable2 of 2 cardsfrom €0.14/h
NVIDIA H10080 GB HBM3Request capacityquoted
NVIDIA H200141 GB HBM3eRequest capacityquoted
NVIDIA B200192 GB HBM3eRequest capacityquoted
NVIDIA DGX Station (GB300)748 GB coherent (252 GB HBM3e)Request capacityquoted

Rent one: https://console.axforge.ai/gpus

Where to read more

  • Overview: What the platform is, and the shape of the API.
  • Quickstart: Key, first call, the real response, in one page.
  • Glossary: The words we use, defined once.
  • Chatbox starter: A streaming chatbox in plain JavaScript. Paste your key and it runs.
  • Test a call: Run a real call and see how it lands, and why if it does not.
  • Models & pricing: Every served model, its id and what it costs.
  • Chat completions: /v1/chat/completions: streaming, tools, JSON mode.
  • Embeddings: /v1/embeddings: 1024-dim vectors, batching, limits.
  • Rerank: /v1/rerank: the passages that answer a question, first.
  • Xev decisions: /v1/systemone: yes/no, choice and score answers with probabilities.
  • Images: /v1/images: generate and edit, sizes and formats.
  • Speech & music: Transcription, text-to-speech and music.
  • Documents to text (OCR): PDFs, scans and photos to text, every EU language.
  • Errors & limits: Every status code, what causes it, what to do.
  • Use it from your stack: Step by step for each tool, tried for real, with screenshots.
  • Get your API key: Three steps in the console. Every guide starts here.
  • GitHub Copilot in VS Code: VS Code's own chat, with our models in its picker.
  • Claude Code: Anthropic's coding agent, on our Messages API.
  • Codex CLI: OpenAI's coding agent, on our Responses API.
  • Cline: The coding agent in VS Code, on the OpenAI Compatible provider.
  • Continue: The open-source assistant for VS Code, set up in its config.yaml.
  • Kilo Code: The coding agent in VS Code, with AxForge as a custom provider.
  • OpenCode: The open-source coding agent for the terminal, with AxForge as a provider.
  • n8n: Workflow automation: AxForge behind n8n's OpenAI nodes.
  • Open WebUI: The chat app you host yourself.
  • LangChain: ChatOpenAI with our base URL, for chains and agents in Python.
  • LlamaIndex: OpenAILike with our base URL, for retrieval and agents in Python.
  • aider: Pair programming in the terminal: two variables and a model name.
  • LiteLLM: The proxy in front of many providers, with AxForge's models in it.
  • Vercel AI SDK: The TypeScript AI toolkit, through its OpenAI-compatible provider.
  • LibreChat: The open-source chat app, with AxForge as a custom endpoint.
  • Qwen Code: Qwen's coding agent for the terminal, on three environment variables.
  • OpenAI SDK and curl: Python, Node and curl: the base URL changed, the rest of your code the same.
  • llm (command line): Simon Willison's command-line tool, with one YAML entry.
  • Web search for your agent: Our own search as an MCP server: find pages on the web and in our docs, read one as text.
  • How GPU rentals work: On-demand and scheduled machines, SSH, the clock.
  • Your bare metal machine: Connect, set up and run your own GB10.
  • Regions & data handling: eu-se-1, eu-es-1, zero retention, what is logged.
  • Rules & responsibilities: What you may run, and what we do.

AI Engineering explains why things work the way they do:

  • Overview: Models, memory, GPUs, inference runtimes, agents and retrieval, for developers.

  • How inference works: Application to GPU: what each layer does, and where the time goes.

  • Model size, VRAM and offload: Weights + KV cache + overhead must fit in GPU memory, or the CPU does the work.

  • Quantization: Same model in fewer bits: memory, speed and quality by format.

  • Context & KV cache: KV cache per token, per context and per user, and what a long window really costs.

  • One GPU vs multiple GPUs: What a second GPU buys: room for a bigger model or a second stream, not double speed.

  • llama.cpp vs vLLM: One conversation or many requests in flight: which runtime fits.

  • How coding agents work: What the harness does, what the model does, and why both decide the result.

  • Large codebases: Search, indexes, history and tests, not a bigger context window.

  • The forum: questions and answers, one thread per model, GPU and docs page

  • The catalogue: every open model we track, with the ones we run marked

  • axforge.ai: the product pages

If you are an agent acting for someone

Use their own key, never a shared one. Prefer a hot model for interactive work. Image, video and music calls can take minutes. Set the client timeout accordingly rather than retrying, which doubles the work. If something is wrong here, the page it belongs to has a thread and a human reads it.