Skip to content

feat: add FuturMix AI Gateway model templates#2673

Open
FuturMix wants to merge 1 commit intocoze-dev:mainfrom
FuturMix:feat/add-futurmix-template
Open

feat: add FuturMix AI Gateway model templates#2673
FuturMix wants to merge 1 commit intocoze-dev:mainfrom
FuturMix:feat/add-futurmix-template

Conversation

@FuturMix
Copy link
Copy Markdown

Summary

Add model template configuration files for FuturMix, an OpenAI-compatible AI gateway that provides unified access to 22+ models from OpenAI, Anthropic, and Google through a single endpoint.

  • model_template_futurmix.yaml — GPT-4o (default template, id: 70010)
  • model_template_futurmix_claude-sonnet-4.yaml — Claude Sonnet 4 (id: 70020)
  • model_template_futurmix_gemini-2.0-flash.yaml — Gemini 2.0 Flash (id: 70030)

Design Decision

All templates use protocol: openai since FuturMix exposes a standard OpenAI-compatible /v1/chat/completions endpoint. This reuses the existing openaiModelBuilder with no Go code changes required — only the base_url and model fields differ from the OpenAI template.

This follows the same approach recommended by the maintainer in #51 (comment):

OpenRouter 提供的模型 API 应该是 OpenAI-Compatible 的,可以尝试采用 OpenAI 的 Protocol 接入

Why FuturMix?

  • OpenAI-compatible API (https://futurmix.ai/v1)
  • 22+ models across OpenAI, Anthropic, and Google
  • Automatic failover between providers
  • Single API key for all models
  • Useful for users who want to access Claude/Gemini models through Coze Studio without separate provider accounts

Relates to #51

Test Plan

  • YAML templates validated (valid YAML, correct structure matching existing templates)
  • Uses protocol: openai — no new model builder or provider registration needed
  • by_azure: false set correctly (issue Does LLM config support models provided by OpenRouter? #51 root cause was by_azure: true)
  • Template IDs (70010, 70020, 70030) do not conflict with existing templates
  • Follows same parameter structure as model_template_openai.yaml

🤖 Generated with Claude Code

Add model template configuration files for FuturMix (https://futurmix.ai),
an OpenAI-compatible AI gateway that provides unified access to 22+ models
from OpenAI, Anthropic, and Google through a single endpoint.

Templates added:
- model_template_futurmix.yaml — GPT-4o (default)
- model_template_futurmix_claude-sonnet-4.yaml — Claude Sonnet 4
- model_template_futurmix_gemini-2.0-flash.yaml — Gemini 2.0 Flash

All templates use protocol: openai since FuturMix exposes an
OpenAI-compatible /v1/chat/completions endpoint, matching the
recommendation in issue coze-dev#51 for third-party gateway integration.

Relates to coze-dev#51

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 25, 2026

CLA assistant check
All committers have signed the CLA.

@FuturMix
Copy link
Copy Markdown
Author

@CLAassistant recheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants