Seedance 2.0 15% OFF | Create in Video Generator →
Agent setup

Connect your local AI agent to WaveSpeed LLM

Pick an agent, choose a WaveSpeed model, copy the right local config file, and route requests through the protocol that agent expects.

Config file

~/.codex/config.toml

Protocol

OpenAI Responses API

Endpoint

/v1/responses

Quick start

1

Create a WaveSpeed access key

2

Export the required key locally

3

Paste config into~/.codex/config.toml

4

Run codex --profile wavespeed and check Logs

OpenAI-compatible chat completions

Usage appears in Dashboard and Logs

Switch models without rewriting agent code

Edit ~/.codex/config.toml
# File: ~/.codex/config.toml

model = "anthropic/claude-opus-4.8"
model_provider = "wavespeed"

[model_providers.wavespeed]
name = "WaveSpeed AI"
base_url = "https://llm.wavespeed.ai/v1"
env_key = "WAVESPEED_API_KEY"
wire_api = "responses"

Use WaveSpeed AI as an LLM agent gateway

Configure Codex, Claude Code, OpenClaw, OpenCode, Hermes and other OpenAI-compatible developer agents with one base URL, one key, and the model you already selected from WaveSpeed AI.

Can I use WaveSpeed LLM models with Codex?

Yes. Use the OpenAI-compatible base URL, your WaveSpeed API key, and a supported model id in the Codex provider configuration.

Does this work with Claude Code, OpenClaw, OpenCode and Hermes?

Yes. The setup page provides copy-ready environment variables and configuration examples for Claude Code, OpenClaw, OpenCode, Hermes and OpenAI-compatible agents.

Where do I get my API key?

Create or copy an access key from the WaveSpeed AI Access Key page, then paste it into your local agent environment.