Documentation / Connect

Use AxForge with your tools

AxForge speaks the OpenAI API, and the Anthropic one too, so the tools you already use work here. Each guide below was tried for real on 2026-10-17: every step, with screenshots of what you will see.

Coding every day? AxForge Coder: the Coder plans give tokens every month, web search for your agent and cheaper nights.

Start here

Coding agents in your editor

Coding agents in your terminal

For your coding agent

Chat apps and automation

In your code

The one pattern behind every guide

Whatever the tool, you tell it three things:

Set thisTo
Base URLhttps://api.axforge.ai/v1
API keyyour AxForge key, from the console
Modelqwen3.8-27b, glm-5.3-flash, mimo-v2.6-flash or qwen3.8-flash-next

A tool that is not listed works the same way if it lets you set a custom OpenAI base URL. The quickest check that a key works, from any terminal:

curl https://api.axforge.ai/v1/chat/completions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen3.8-27b","messages":[{"role":"user","content":"ping"}]}'

A reply with an answer means the key and the address are right.

When a tool will not talk to us: the connection doctor

One command that makes seven small checks on your key and says the fix for every cross: the key, the base URL, the model name, a short answer, a stream, a tool call, the MCP door. It makes a few tiny calls on your key (a handful of tokens) and sends nothing anywhere but our API. It asks for the key, or reads AXFORGE_API_KEY; set AXFORGE_BASE_URL to what you gave your tool and AXFORGE_MODEL to the model you use, and it checks those.

curl -fsSL https://dev.axforge.ai/assets/axforge-doctor.sh | bash

Rather read it first? Download axforge-doctor.sh or axforge-doctor.ps1 (plain curl, plain PowerShell, no other tool) and run the file. Its exit code is the number of crosses, so a script can call it too.

Not here

Cursor takes a custom base URL only on its paid plans. Windsurf and Gemini CLI work with their own makers' models only. Roo Code shut down on 2026-05-15. Zed and JetBrains AI are not tried yet. Stuck with another tool? Talk to an engineer.

Ask on the forum Markdown For AI Updated 2026-11-06

Anything unclear on this page?

Ask on the forum. The answer helps the next person too.

Ask about this page