Skip to main content
Providers translate between AFK’s normalized contracts (LLMRequest/LLMResponse) and provider-specific APIs. AFK ships with three built-in providers and supports custom providers for internal deployments.

Built-in providers

OpenAI

Direct integration via the OpenAI Python SDK. Supports all GPT-4.1 and o-series models.

Anthropic

Direct integration via the Anthropic SDK. Supports Claude Opus 4.5 and Opus.

LiteLLM

Proxy adapter for 100+ providers (Azure, Bedrock, Gemini, Mistral, local models, etc.).

Capability comparison

Usage

Custom provider

Register your own provider for unsupported inference servers:
1

Implement provider and transport contracts

2

Register the provider

3

Use it

Custom transport

Use provider-specific settings for custom endpoints, proxy URLs, or credentials:

Next steps

Control & Session

Retry, caching, rate limiting, and circuit breaking.

Agent Integration

How agents resolve and use LLM clients.