Guides Overview
Bring free inference to your app or coding agent, with ads that cover the cost.
Connect a model, show the generated content, and render a separate ad when Koah requests one. These guides take you through the full flow. For your first request, start with the quickstart.
Who this is for
- App developers: build chat, writing tools, or app builders for a US consumer audience, with a visible place for ads.
- Existing integrations: migrate an app that already uses the OpenAI or Anthropic SDK to free inference.
- Coding agent users: connect a free model in an agent that supports custom providers and a plugin or UI for ads.
- Platforms and routers: contact Koah to plan access and ad display across the apps you serve.
How to use free inference
Run inference
Your server or coding agent requests a model response from Koah.
Display the result
Return the generated content and any ad ID to your interface.
Render the ad
Only render an ad when Koah returns an ad ID. This does not happen on every response. Pass the ID to the Koah SDK, or let the agent plugin handle it. Keep the ad separate from the content and visible to the user.
Valid ad views fund token generation. For streamed responses, wait until the content is complete before showing the ad. See Ads and Validation for the display requirements.
Choose a guide
For model choices and request details, see Models, Streaming, and the API reference.