Skip to content

Feat(aigw): costs in migration guide - #7065

Merged
jbaross merged 6 commits into
mainfrom
feat/aigw-costs-in-migration-guide
Sep 2, 2026
Merged

Feat(aigw): costs in migration guide#7065
jbaross merged 6 commits into
mainfrom
feat/aigw-costs-in-migration-guide

Conversation

@jbaross

@jbaross jbaross commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Description

Adds description of new cost management parameters to concepts and migration guide docs.

Pending sanity check on what the converter does to old parameters may change language from 'add' to 'update'

Fixes #7060

Preview Links

https://deploy-preview-7065--kongdeveloper.netlify.app/ai-gateway/v2-migration-guide/

Checklist

  • Tested how-to docs. If not, note why here.
  • All pages contain metadata.
  • Any new docs link to existing docs.
  • All autogenerated instructions render correctly (API, decK, Konnect, Kong Manager).
  • Style guide (capitalized gateway entities, placeholder URLs) implemented correctly.
  • Every page has a description entry in frontmatter.
  • Add new pages to the product documentation index (if applicable).

@jbaross
jbaross requested a review from a team as a code owner September 1, 2026 12:11
@netlify

netlify Bot commented Sep 1, 2026

Copy link
Copy Markdown

Deploy Preview for kongdeveloper ready!

Name Link
🔨 Latest commit 41f222c
🔍 Latest deploy log https://app.netlify.com/projects/kongdeveloper/deploys/6a97e1bd9e77320009862bbe
😎 Deploy Preview https://deploy-preview-7065--kongdeveloper.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@jbaross

jbaross commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

I tested the migration guide with a config that included the V1 params

model:
          model_alias: null
          name: gpt-4o
          options:
            input_cost: 7
          provider: openai

and this was carried over to V2

targets:
      - allow_auth_override: false
        config:
          input_cost: 7
          type: openai
        name: gpt-4o
        provider: openai-1
        weight: 100

So users should only have to add any new parameters they want to use not manually transfer existing values

@cloudjumpercat cloudjumpercat left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some feedback!

  • The original DoD mentioned updating the AI Model targets section, does that still need an update?
  • I tested the conversion and the converter had no issues with the input and output cost v1 dimensions. I've recommended adjusting some of the wording so it's clear the v2 additional dimensions are optional, not required for a successful migration.

Comment thread app/ai-gateway/ai-gateway-v2-concepts.md
Comment thread app/ai-gateway/v2-migration-guide.md Outdated
Comment thread app/ai-gateway/v2-migration-guide.md Outdated
jbaross and others added 3 commits September 2, 2026 09:38
Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>
Co-authored-by: Diana <75819066+cloudjumpercat@users.noreply.github.com>

@cloudjumpercat cloudjumpercat left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jbaross
jbaross merged commit e518a1a into main Sep 2, 2026
18 checks passed
@jbaross
jbaross deleted the feat/aigw-costs-in-migration-guide branch September 2, 2026 14:04
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.

add cost management to migration doc

2 participants