Skip to main content
Yboard provides built-in AI capabilities powered by OpenRouter — offering chat completions, image generation, embeddings, and tool calling.

Overview

The AI integration acts as a managed gateway to multiple AI providers. You configure models in your dashboard and access them through a unified API.

Technology Stack

Supported Models

Yboard supports all models available through OpenRouter, including:
  • GPT-4o, GPT-4o-mini — OpenAI
  • Claude 3.5 Sonnet, Claude 3 Haiku — Anthropic
  • Gemini 2.0 Flash, Gemini 1.5 Pro — Google
  • Llama 3.1, Mistral Large — Open source
  • DALL-E 3, Stable Diffusion — Image generation

Capabilities

  • Chat Completions — Text generation with streaming support
  • Tool Calling — Function calling for agentic workflows
  • Image Generation — Create images from text prompts
  • Embeddings — Generate vector embeddings for similarity search

Chat Completions

Request

Streaming Architecture

Streaming uses Server-Sent Events (SSE) for real-time token delivery:
  1. Request validated and authorized
  2. Forwarded to OpenRouter
  3. Tokens streamed back to client
  4. Usage tracked on completion

Tool Calling

Image Generation

Image Parameters

Configuration Management

Manage AI configurations through the dashboard or API:

Usage Tracking

Yboard automatically tracks AI usage per project:

Metrics Collected

Security & Rate Limiting

  • API key required for all AI requests
  • Per-project rate limits based on subscription plan
  • Usage quotas with configurable alerts
  • No data retention — requests are not stored by Yboard

Best Practices

  1. Use streaming for chat interfaces to improve perceived performance
  2. Set system prompts in configurations rather than per-request
  3. Monitor usage regularly to stay within budget
  4. Use appropriate models — smaller models for simple tasks, larger for complex ones
  5. Implement retry logic for transient failures